<template>
  <div class="success">
    <img src="@/assets/finish.png" alt="">
    <div class="btn">
      <el-button type="primary" @click="back" class="back">返回</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Success',
  data() {
      return {
      }
    },
    mounted(){
        this.$store.commit('title','已有贷款情况')
    },
    methods: {
      back(){
        this.$router.push({name:'User'})
      }
    },
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.success{
  display: flex;
  flex-direction: column;
  align-items:center;
  width: 100%;
  text-align: center;
  margin-top: 80px;
  img{
    width: 30%;
  }
  .btn{
    margin-top: 80px;
    .back{
      min-width: 200px;
    }
  }
}
</style>
